package com.gzx.plugin.tjzy.modular.call.predict.mapper;

import com.gzx.plugin.tjzy.modular.call.predict.entity.GzxPredictCallDetail;
import com.gzx.plugin.tjzy.modular.call.predict.vo.GzxPredictCallDetailVo;
import org.apache.ibatis.annotations.Insert;
import vip.xiaonuo.common.mapper.BaseMapperPlus;

/**
 * @author zjt
 * @description
 * @date 2025/3/28 13:47
 */
public interface GzxPredictCallDetailMapper extends BaseMapperPlus<GzxPredictCallDetail, GzxPredictCallDetailVo> {

    /**
     * 批量插入
     *
     * @param sql
     */
    @Insert("<script>" +
            "insert into gzx_predict_call_detail" +
            "(id,batch_number, caller, liaison_name, liaison_phone, customer_info, partner_business_id," +
            "case_id, tenant_id,create_dept, create_user, create_time) values ${sql}" +
            "</script>")
    void insertBatchByValSql(String sql);
}
